package com.unique.demo.model;

import java.io.Serializable;

import org.unique.support.orm.DB;
import org.unique.support.orm.Model;
import org.unique.support.orm.annotation.Table;

@Table("t_person")
public class Person extends Model<Person> implements Serializable {

	private static final long serialVersionUID = -6621373697532531342L;

	public static DB<Person> db = new DB<Person>();
	
	private Integer id;
	private String name;
	private Integer age;
	private Integer birthday;
	private Integer status;

	public Person() {
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getAge() {
		return age;
	}

	public void setAge(Integer age) {
		this.age = age;
	}

	public Integer getBirthday() {
		return birthday;
	}
	
	public void setBirthday(Integer birthday) {
		this.birthday = birthday;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

}
